package com.hk.aefz.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "分页对象",description = "前端回显分页对象")
public class PageResult<T> {

    @ApiModelProperty("每页显示的信息")
    private List<T> objects;
    @ApiModelProperty("总数")
    private Long total;
    private Long size;
    private Long pages;
    private Long current;

//    博客数据
    @ApiModelProperty(value = "总阅读量统计")
    private Integer eReadStatis;

    @ApiModelProperty(value = "总评论量统计")
    private Integer eCommentStatis;

    @ApiModelProperty(value = "总点赞量统计")
    private Integer ePraiseStatis;

    @ApiModelProperty(value = "总收藏量统计")
    private Integer eCollects;


}
